package space.huyinfu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import space.huyinfu.entity.User;

/**
 * @Description: 用户登录服务接口
 * @ClassName: UserService
 * @Author: HCode
 * @Date: 2024/5/22 14:58
 * @Version: 1.0
 */
public interface UserService extends IService<User> {
    User findUserByUsernameAndPassword(String username, String password);

    User findUserById(Long id);

    boolean changeAccount(User user, String jwt);
}
